package com.eamois.dao.sys;

import java.util.Collection;

import com.eamois.dao.BaseDao;
import com.eamois.domain.sys.Equipment;
import com.eamois.domain.sys.EquipmentType;
import com.eamois.domain.sys.SubMaterial;

public interface EquipmentDao extends BaseDao<Equipment>{
	public Collection<Equipment> findEquipment(EquipmentType equipmentType);
	public Collection<Equipment> findAllEquipment();
	public Collection<Equipment> findEquipment(String name,String number,String spec,String kind,boolean isLike);
	public Collection<Equipment> findEquipment(String name,String code,String kind);
	public Collection<Equipment> findEquipment(String name,String code,EquipmentType equipmentType);
	public Collection<Equipment> findEquipment(String name,String code,String kind,EquipmentType equipmentType);
	public Collection<Equipment> findEquipmentByNameAndKind(String name,String kind);
	
	Collection<Equipment> findEquipment(String name,String number,String spec,String model,String kind,String remark);
	
	Collection<String> findEquipmentIds();
	boolean findEquipment(String id);
	Equipment findEquipmentById(String id);
	Collection<Equipment> findByBelongId( String id);
	
	
}
